package ml.kupin.content.service;

import ml.kupin.common.utils.KuPinResult;
import ml.kupin.common.vo.EasyUITreeNode;

import java.util.List;


/**
 * Created by 小柯(Allen Kerr) on 17.4.26 19:17.
 */
public interface ContentCategoryService {

    List<EasyUITreeNode> getContentCategories(long parentId);

    KuPinResult addContentCategory(long parentId, String text) throws Exception;

    KuPinResult updateContentCategory(long id, String name) throws Exception;

    KuPinResult deleteContentCategory(long id) throws Exception;
}
